﻿#region
/*******************************************************************************
** File Name:		    IProduct.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using Phoenix.Entity;
namespace Phoenix.Respository
{
    public interface IProduct
    {
        #region  Auto Generation

        void AddProduct(EProduct product);

        void UpdateByProductID(EProduct product);

        void DeleteByProductID(System.Int32 productID);

        EProduct GetByProductID(System.Int32 productID);

        IList<EProduct> GetAll();

        #endregion

        void UpdateTaoKe(int productID, bool taoKe);

    }
}